package com.sixth.volunteerservicesystem.Service;

import com.sixth.volunteerservicesystem.domain.News;
import com.sixth.volunteerservicesystem.domain.Theory;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface NewsService {
    public void sava(News news);
    public void delete(int id);
    public List<News> list();
    public News Getone(int id);
}
